package com.jiyun.service.impl;

import com.jiyun.mapper.AddressMapper;
import com.jiyun.pojo.Address;
import com.jiyun.service.AddressService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AddressServcieImpl implements AddressService {

    @Resource
    private AddressMapper addressMapper;

    @Override
    public List<Address> list() {
        return addressMapper.list();
    }
}
